Skip to content

feat(share): lead with the AI-impact number when a job is known - #270

Merged
jasonhnd merged 1 commit into
previewfrom
feat/issue-237-share-number
Aug 21, 2026
Merged

feat(share): lead with the AI-impact number when a job is known#270
jasonhnd merged 1 commit into
previewfrom
feat/issue-237-share-number

Conversation

@jasonhnd

Copy link
Copy Markdown
Owner

Closes #237.

Ruling

Share is measurement-led when an occupation (and therefore an AI-impact score) is known. Identity-only stays for the no-occupation /shindan result, where there is no number. WORKTYPE_VIRALITY.md §S5 is amended in this PR.

Copy (live on this branch; owner review on pre)

With job:

#AI働き方診断 {職業}のAI影響度は{点数}。あなたの仕事は? {リンク}

Without job (unchanged):

#AI働き方診断 私は【{タイプ名}】。{一言} {リンク}

/me CTA: 「この数字をシェア」.

What

  • Shared formatter in src/site/worktype-share.ts.
  • /shindan share text, hook, and native share pick the job template when gap job + score are loaded.
  • /api/shindan-share OG title/description follow the same hero (fetches occupation detail).
  • Worktype OG card: giant score + job name when job is on the image URL; type name is secondary.
  • /me share control after the score. share_click.
  • Twitter/Facebook/Slack unfurlers of /me?id= rewrite to the occupation page so the timeline card is the number. Humans still land on /me. Googlebot is not rewritten.

Verify

  • bun run test
  • bun run typecheck
  • bun run build
  • bun run verify:gates
  • SEO baseline recaptured: /me anchors +2 (meShare, meShareOpen).

Look at https://pre.mirai-shigoto.com/me after merge (or the Vercel preview URL on this PR). Pick a job, tap 「この数字をシェア」. A /shindan result without a job should still say 私は【タイプ名】.

Reopen WORKTYPE_VIRALITY.md §S5 as measurement-led (#237). Share text and
the worktype OG card use {job}のAI影響度は{score} when an occupation is
present; no-occupation /shindan shares stay identity-only. /me gets a
score share control; social unfurlers of /me?id= reuse the occupation card.
@vercel

vercel Bot commented Aug 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
jobs Ready Ready Preview Aug 20, 2026 9:35am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant